target("2d")
  if is_kind("static") then
    add_defines("CVS_USE_STATIC")
  else
    add_defines("CVS_USE_SHARED")
  end

  set_targetdir("../../bin")
  add_includedirs("../../include")
  add_linkdirs("../../bin")
  add_deps("canvas")
  add_links("canvas")
  
  set_kind("binary")
  add_files("2d.cc")
target_end()